<template>
  <router-link
    tag="li"
    :to="{path:'/detail',query:{id:g.id}}"
  >
  <!-- //优品推荐轮播图 -->
    <img :src="g.image" alt="" />
    <p>{{ g.store_name }}</p>
    <p>{{ g.price }}</p>
  </router-link>
</template>
<script>
export default {
    props:['g'],
    // created() {
    //   console.log("优品推荐g==>",this.g);
    // },
}
</script>